package com.example.entity;

import lombok.Builder;

/**
 * @author 沈传尚
 * @date 2021/12/24
 */
@Builder
public class Point {
    private Integer x;
    private Integer y;

    public Integer getX() {
        return x;
    }

    public void setX(Integer x) {
        this.x = x;
    }

    public Integer getY() {
        return y;
    }

    public void setY(Integer y) {
        this.y = y;
    }

    @Override
    public String toString() {
        return "(" +x+","+y+")";

    }
}
